import Vue from "vue";
import App from "./App.vue";
import VueCompositionApi from '@vue/composition-api'; 
import {router} from "./router";
import store from "./store";
import ElementUI from 'element-ui'; 
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(VueCompositionApi);
Vue.use(ElementUI);
import "./router/premit.js"; //路由守卫校验
//自定义组件 
import '@/icons'
// 自定义全局方法
// import global from '@/utils/global.js'
// Vue.use(global)

Vue.config.productionTip = false;








// runtime模式
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
